home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
comm
/
net
/
spoolwatch.lha
/
SpoolWatch
/
SpoolWatch.doc
< prev
next >
Wrap
Text File
|
1995-10-02
|
6KB
|
196 lines
SpoolWatch 2.8
by
Nick d'Alterio
Preface
-------
Please let me know what you think of this program, do you like it, is it
useful to you, what features would you like.
I originally started out writing it as a simple CLI program until I decided
that this would be a good start for learning how to program a GUI so don't
expect too much yet. This is my first proper Amiga specific program.
Introduction
------------
Have you ever wondered if your mailer has actually posted your message?
Have you ever wanted to check that you had replied to that important e-mail?
Well then SpoolWatch may be the program for you.
SpoolWatch as the name implies keeps an eye on your news and mail spool
directories ready to give you all the information you need about their
contents.
It can be run from the shell with either GUI or command line output, or from
workbench.
Installation
------------
Just copy the executable (and icon) where you want it.
NOTE This program require 2.x
Options
-------
From CLI
--------
When started from CLI SpoolWatch has 7 options:-
MAILDIR\K Mail spool directory (AmiTCP:Usr/Spool/Mail default)
NEWSDIR\K News spool directory (AmiTCP:Usr/Spool/News default)
DELAY\N Interval at which SpoolWatch checks contents
of spool directories. Ignore if using CLI output (10 default)
NOGUI\S Don't display GUI output to CLI (FALSE default)
FULL\S Display full information about spool to CLI,
ignore if not using NOGUI option(FALSE default)
TOP\N Top edge of window (0 default)
LEFT\N Left edge of window (0 default)
examples:
> SpoolWatch NOGUI
Mail: 0 News: 0
> SpoolWatch NOGUI FULL
News Spool .....
Num Size Destination Time Queued
1 4238 rec.games.netrek 52 days 15 h 48 m
2 4238 rec.games.netrek 52 days 15 h 48 m
3 4238 rec.games.netrek 52 days 15 h 48 m
4 4238 rec.games.netrek 52 days 15 h 48 m
Press return to continue...
Mail spool is empty
From Workbench
--------------
The options are specified by TOOLTYPES:-
MAILDIR Location of mail spool directory (AmiTCP:Usr/Spool/Mail default)
NEWSDIR Location of news spool directory (AmiTCP:Usr/Spool/News default)
LEFT Left edge of window (0 default)
TOP Top edge of window (0 default)
DELAY Interval, in seconds, at which SpoolWatch
looks at spool directories (10 default)
The GUI
-------
Initially when started the GUI will be a title-bar sized window containing a
brief summary of the number of files in each spool.
Clicking the Right Mouse in the window will toggle between the full display
and the title-bar window unless both spools are empty in which case the window
will remain title-bar sized.
The full display window has one gadget which toggles between a display of
the news spool directory and the mail spool directory. If either of the
spool directories is empty the gadget will do nothing.
The full display window will grow automatically as the number of messages
in the spool directory increases. However at the moment once the window
has reached the maximum height allowed by the screen all subsequent messages
will be ignored and a requester displayed telling you of this (in actual
use this has never happened for me since I never have 48 messages waiting
to be sent)
SpoolWatch uses the default window font for the text.
To quit the program press the Close gadget or send a CTRL-C. The program will
not exit immediately but will wait until the current timer cycle is
finished and then exit.
Compatibility and Notes
-----------------------
This program should work equally well no matter which networking system
you use just so long as there are separate spool directories and the
mail header contains a line beginning with To: and the news header
contains a line beginning with Newsgroups:
On my AmiTCP setup with INet Util 1.4 I have never encountered a news/mail
file it hasn't been able to handle.
NOTE: If there are are multiple destinations only the first will be displayed,
also the maximum length of name that will be displayed is 35 characters.
If your off-line news or mail writing program produces multiple files
e.g SMTPPost produces D.54543353 and X.32454643
SpoolWatch can handle counting only the actual messages so long as these
supporting files do not contain the lines Newsgroups: or To:
Future
------
If there is enough interest in this program I will probably implement
at least some of the following.
Improved GUI
Listview for the messages
Ability to edit, delete, send spooled messages
Send me any other suggestions.
Distribution
------------
This program is free distributable. If a PD company wants to distribute it
they MUST charge a reasonable price i.e. not more than 50p + disk price
(are you reading this PD-Soft!)
I accept NO liability for incidents resulting from the use of this program.
Bugs
----
There are currently no known bugs, if you find one please let me know
daltern@ic.ac.uk
History
-------
2.8 BUGFIX: If the system font was non proportional then the
titlebar window opened was too small for the text.
2.7 BUGFIX: Some last minute error checking code caused memory
to be freed twice.
2.6 First public release
-------------------------------------------------------------------------------------------
Nick d'Alterio (daltern@ic.ac.uk)
$Id: SpoolWatch.doc 1.3 1995/10/02 22:39:48 daltern Exp $